package com.tbit.manager.api;

import com.tbit.manager.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 用户特殊认证记录 openfeign接口
 *
 * @author ：zhangtianyou
 * @since 2024/11/22
 */
@FeignClient(name = ApiConstants.NAME)
public interface UserAuthLogApi {

    String PREFIX = ApiConstants.PREFIX + "/userAuthLog";

    /**
     * 清除用户特殊认证记录
     *
     * @param userId 用户id
     */
    @GetMapping(PREFIX + "/cleanUserAuth")
    Boolean cleanUserAuth(@RequestParam("userId") Integer userId);

}
